package com.sayimo.maker.user.dao;

import java.util.List;
import java.util.Map;

import com.sayimo.framework.exception.DaoException;
import com.sayimo.maker.user.vo.ReceivingAddress;


/**
 * @Copyright (c) 2016 广东省尚一互联网有限公司
 * @Project: maker-user
 * @ClassName: ReceivingAddressInterfaceDao.java
 * @Description: 会员收货地址
 * @Author:	tanxin
 * @Date:2017年2月8日,上午11:24:53
 * @Version 1.0.0
 */
public interface ReceivingAddressInterfaceDao {
	
	public ReceivingAddress queryCustomerAddress(Integer customerId)throws DaoException;
	
	public List<ReceivingAddress> queryAddressByCond(ReceivingAddress address) throws DaoException;
	
	public int deleteByPrimaryKey(Integer id) throws DaoException;
	
	public Integer insertSelective(ReceivingAddress address) throws DaoException;
	
	public int updateByPrimaryKeySelective(ReceivingAddress address) throws DaoException;
	
	public ReceivingAddress selectDefaultAddress(ReceivingAddress address) throws DaoException;
	
	public int batchUpdateRecevingAddress(List<Integer> list) throws DaoException;
}
